package com.jzr.medical.db1.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.jzr.medical.common.LayMapper;
import com.jzr.medical.db1.dto.FoodOrderDto;
import com.jzr.medical.db1.model.TFoodOrder;
import com.jzr.medical.db1.vo.FoodOrderDetailVo;
import com.jzr.medical.db1.vo.FoodOrderVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * <p>
 * 食堂订单 Mapper 接口 abc
 * </p>
 *
 * @author henry
 * @since 2019-07-22
 */
public interface TFoodOrderMapper extends LayMapper<TFoodOrder,FoodOrderVo,Integer> {
    List<Integer> getIdList(@Param(Constants.WRAPPER) Wrapper wrapper);
    List<FoodOrderVo> list(IPage<FoodOrderVo> page, @Param("p")FoodOrderDto record);
    List<FoodOrderDetailVo> listDetail(@Param("orderIds") List<Integer> orderIds);
}

